package com.friday.bo;

import java.util.List;

import com.friday.po.Department;
import com.friday.po.Employee;

public interface PersonnelBo {
	int addDepartment(String depName, String depId, String managerId) throws Exception;
	int setDepartmentManager(String depId, String managerId) throws Exception;
	int DeleteDepartment(String depId) throws Exception;
	List<Department> getAllDepartment() throws Exception;
	
	int addEmployee(String name, String account, String password, int actor, String dep) throws Exception;
	int changeDepartment(String account, String dep) throws Exception;
	int changeActor(String account, int actor) throws Exception;
	int deleteEmployee(String account) throws Exception;
	List<Employee> getAllEmployee() throws Exception;
}
